package com.train.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.train.member.resp.passenger.PassengerPageResp;
import com.train.common.resp.PageResp;
import com.train.member.dto.PassengerAddOrEditDTO;
import com.train.member.dto.PassengerPageDTO;
import com.train.member.po.PassengerPO;
import com.train.member.resp.passenger.PassengerListResp;

import java.util.List;

/**
* @author baitiaojun
* @description 针对表【passenger(乘车人)】的数据库操作Service
* @createDate 2025-02-14 19:37:18
*/
public interface PassengerService extends IService<PassengerPO> {

    void addOrEditPassenger(PassengerAddOrEditDTO passengerAddOrEditDTO);

    PageResp<PassengerPageResp> pageList(PassengerPageDTO passengerPageDTO);

    void remove(Long id);

    List<PassengerListResp> queryPassengerList();
}
